<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="DailyPresentEmployee, App_Web_v22zhzdt" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <style type="text/css">
        .green-colour
        {
            background-color: #8dc234;
            font-family: Tahoma;
            font-size: 17px;
            padding-left: 4px;
            color: #ffffff;
            margin: 2px;
            text-decoration: none;
            font-weight: bold;
        }
        .user
        {
            font-family: Tahoma;
            font-size: 12px;
            color: #124c56;
            margin: 4px;
            text-decoration: none;
        }
        .button1
        {
            font-style: italic;
        }
                        .card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
      margin-top: -37px;
    padding: 7px !important;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 8px 8px !important;
    vertical-align: middle;
    border-color: #ddd;
}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div style="background-color: #f56450">
    </div>
    <asp:Panel ID="Panel1" runat="server">
        &nbsp;&nbsp;
    </asp:Panel>
    <asp:Label ID="lblmsg" runat="server" Font-Bold="True" Font-Size="13pt" ForeColor="#0099CC"
        Text="Employee  List"></asp:Label>
         <div class="main-panel">
        <div class="content">
        <div class="container" id="dailypresent123" runat="server">
    <div class="row dash-pane2">
        <div class="card">
                <div class="card-header card-header-warning">
                  <h4 class="card-title"><i class="fa fa-list fa-fw">
                         </i><asp:Label ID="lblDayofPresent" runat="server" Text="Day of Present"></asp:Label></h4>
                </div>
                <div class="card-body table-responsive" style="height:250px; over-flow-x:hidden; overflow-y:scroll">
                                     <asp:GridView ID="Grid1" runat="server" class="table table-bordered table-hover table-striped"
                            AutoGenerateColumns="False" OnDataBound="Grid1_DataBound" OnSelectedIndexChanged="Grid1_SelectedIndexChanged">
                            <Columns>
                                <asp:BoundField DataField="EmpCode" HeaderText="Employee Code" SortExpression="FatherName">
                                </asp:BoundField>
                                <asp:BoundField DataField="EmployeeName" HeaderText="Employee Name" SortExpression="EmpCode">
                                </asp:BoundField>
                                <asp:BoundField DataField="InTime" HeaderText="In Time" SortExpression="Dept_Name">
                                </asp:BoundField>
                                <asp:BoundField DataField="OutTime" HeaderText="Out-Time" SortExpression="Desig_Name">
                                </asp:BoundField>
                                <asp:BoundField DataField="Status" HeaderText="Status" SortExpression="DateofJoin">
                                </asp:BoundField>
                            </Columns>
                        </asp:GridView>
                          <script src="js/jquery-1.8.3.min.js" type="text/javascript"></script>
                        <script type="text/javascript" src="quicksearch.js"></script>
                        <script type="text/javascript">
                            $(function () {
                                $('.search_textbox').each(function (i) {
                                    $(this).quicksearch("[id*=Grid1] tr:not(:has(th))", {
                                        'testQuery': function (query, txt, row) {
                                            return $(row).children(":eq(" + i + ")").text().toLowerCase().indexOf(query[0].toLowerCase()) != -1;
                                        }
                                    });
                                });
                            });
                        </script> 
       </div>
       </div>
      
    </div>
    <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:15px;">
        
            <i class="fa fa-plus;"></i><i class="fa fa-trash-o;"></i>
            <asp:Button ID="BtnImportFromExcel" runat="server" Text="Export Excel" OnClick="BtnImportFromExcel_Click"
                type="button" class="btn btn-success " /><i class="fa fa-plus;"></i>&nbsp;&nbsp;
            <asp:Button ID="Button1" runat="server" Text="close" class=" btn btn-danger" OnClick="Button1_Click" /><i></i>
       
   </div>

    </div></div></div>
</asp:Content>
